package com.jeesite.modules.jdProduct.entity;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.Table;
import com.jeesite.common.mybatis.mapper.query.QueryType;

/**
 * 测试数据Entity
 * 
 * @author ThinkGem
 * @version 2018-04-22
 */
@Table(name = "jd_productpool", alias = "a", columns = {
		@Column(name = "id", attrName = "id", label = "编号", isPK = true),
		@Column(name = "name", attrName = "name", label = "分类名称", queryType = QueryType.LIKE),
		@Column(name = "status", attrName = "status", label = "状态"),
		@Column(name = "page_num", attrName = "pageNum", label = "权重"),
		@Column(name = "create_date", attrName = "createDate", label = "创建时间"), }, orderBy = "a.create_date DESC")
public class ProductPool extends DataEntity<ProductPool> {

	private static final long serialVersionUID = 1L;
	private String name;

	private String status;

	private String pageNum;
	
	@JsonIgnore
	private Date createDate;
	@JsonIgnore
	private String updateBy;
	@JsonIgnore
	private String createBy;
	@JsonIgnore
	private Date updateDate;
	
	

	@JsonIgnore
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPageNum() {
		return pageNum;
	}

	public void setPageNum(String pageNum) {
		this.pageNum = pageNum;
	}

}
